#include <iostream>
using namespace std;

/**
 * @brief c++ bits
 *
 * @param argc
 * @param argv
 * @return int
 */
void test1()
{
    cout << "1 & 1 =" << (1 & 1) << endl;
    cout << "0 & 0 =" << (0 & 0) << endl;
    cout << "1 & 0 =" << (1 & 0) << endl;
    cout << "1 | 1 =" << (1 | 1) << endl;
    cout << "1 | 0 =" << (1 | 0) << endl;
    cout << "0 | 0 =" << (0 | 0) << endl;
    cout << "2 >> 1 =" << (2 >> 1) << endl;
    cout << "1 << 1 =" << (1 << 1) << endl;
}
int main(int argc, char const *argv[])
{
    test1();
    return 0;
}
